<#include "../common/_layout.html"/> <@layout>

<div class="panel panel-default">
	<div class="panel-heading">
		<h3 class="panel-title">create domain</h3>
	</div>
	<div class="panel-body">
		<div class="form-group">
			<label for="domain">External Domain:</label> <input type="text" id="domain" class="form-control" />
		</div>
		<div class="form-group">
			<label for="team">Belong to Team(<a href="${uic}/team/create"
				target="_blank">Create Team</a>):
			</label> <select id="team" class="form-control"> <#list ts as t>
				<option value="${t.id}-${t.name}">${t.name}</option> </#list>
			</select>
		</div>
		<button type="button" class="btn btn-primary" id="sub"
			onclick="create_domain();">Submit</button>
		<a href="/domain" class="btn btn-warning">Cancel</a>
	</div>
</div>

</@layout>
